package com.zlc.common.core.user.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.zlc.common.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author  zl
 * @date 2025-12-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "用户代理表")
public class MayanPlatUserAgentVo extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 0L;
	/**
	 * 被代理用户账号
	 */
	@ApiModelProperty(value="被代理用户账号")
	private String userAccount;

	/**
	 * 代理用户账号
	 */
	@ApiModelProperty(value="代理用户账号")
	private String agentUserAccount;


	@ApiModelProperty(value="代理用户名称")
	private String agentUserName;

	/**
	 * 代理开始时间
	 */
	@ApiModelProperty(value="代理开始时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date agentStartTime;

	/**
	 * 代理结束时间
	 */
	@ApiModelProperty(value="代理结束时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date agentEndTime;

	/**
	 * 代理状态 ACTIVE 生效 CLOSE 关闭
	 */
	@ApiModelProperty(value="代理状态 ACTIVE 生效 CLOSE 关闭")
	private String agentStatus;

	/**
	 * 代理原因
	 */
	@ApiModelProperty(value="代理原因")
	private String reason;

}
